package com.compass.ui.client.model;

import com.extjs.gxt.ui.client.data.BaseTreeModel;

public class Section extends BaseTreeModel {

	  /**
	 * 
	 */
	private static final long serialVersionUID = -429877304398203788L;

	public Section() {

	  }

	  public Section(String name) {
	    set("name", name);
	  }

	  public Section(String name, String author, String genre) {
	    set("name", name);
	    set("author", author);
	    set("genre", genre);
	  }

	  public String getName() {
	    return (String) get("name");
	  }

	  public String getAuthor() {
	    return (String) get("author");
	  }

	  public String getGenre() {
	    return (String) get("genre");
	  }

	  public String toString() {
	    return getName();
	  }
	}